using System;
using System.IO;
using NUnit.Framework;

[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace YiLe.Test.File
{
    [TestFixture]
    public class FileTest
    {
        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

        [Test]
        public void testLayoutPaht()
        {
            FileInfo fileInfo = new FileInfo("E:/YiLeSystem");
            string strLayoutDirName = Path.Combine(fileInfo.DirectoryName, "AppSettings");

            Assert.IsNotNullOrEmpty(strLayoutDirName);
            Console.WriteLine(strLayoutDirName);
            log.Info(strLayoutDirName);
        }





    }
}
